﻿* Encoding: UTF-8.

*****************THIS SYNTAX CORRESPONDS TO A DATASET CALLED "rp_dataset_042019_2.sav"
**This syntax has already been run on the dataset but is made available for review. 


*************CREATING COGNITIVE STYLE VARIABLES***************
*Cognitive styles were measured with multiple items.
*Here, the first set of code takes the hot-decked raw variable and provides a descriptive name. The second set provides a label for the items.
*For some variables, calculations are required.

*ACTIVELY OPEN-MINDED THINKING (AOT) - Dogmatism and fact resistance subscales.

RECODE Q3.1_1HD (ELSE=Copy) INTO AOTDog_1.
RECODE Q3.1_4HD (ELSE=Copy) INTO AOTDog_2.
RECODE Q3.1_5HD (ELSE=Copy) INTO AOTDog_3.
RECODE Q3.1_7HD (ELSE=Copy) INTO AOTDog_4.
RECODE Q3.1_8HD (ELSE=Copy) INTO AOTDog_5.
RECODE Q3.1_10HD (ELSE=Copy) INTO AOTDog_6.
RECODE Q3.1_9HD (ELSE=Copy) INTO AOTFac_1.
RECODE Q3.1_11HD (ELSE=Copy) INTO AOTFac_2.
RECODE Q3.1_12HD (ELSE=Copy) INTO AOTFac_3.
RECODE Q3.1_13HD (1=6) (2=5)(3=4)(4=3)(5=2)(6=1) INTO AOTFac_4.
RECODE Q3.1_14HD  (1=6) (2=5)(3=4)(4=3)(5=2)(6=1) INTO AOTFac_5.

VARIABLE LABELS AOTDog_1 'Actively open-minded thinking, dogmatism: I believe that loyalty to ones ideals and principles is more important than open-mindedness'.
VARIABLE LABELS AOTDog_2 'Actively open-minded thinking, dogmatism: I believe that the "new morality" of permissiveness is no morality at all'.
VARIABLE LABELS AOTDog_3 'Actively open-minded thinking, dogmatism: Of all the different philosophies which exist in the world there is probably only one which is correct'.
VARIABLE LABELS AOTDog_4 'Actively open-minded thinking, dogmatism: I think there are many wrong ways, but only one right way, to almost anything'.
VARIABLE LABELS AOTDog_5 'Actively open-minded thinking, dogmatism: I believe letting students hear controversial speakers can only confuse and mislead them'.
VARIABLE LABELS AOTDog_6 'Actively open-minded thinking, dogmatism: I believe we should look to our religious authorities for decisions on moral issues'.
VARIABLE LABELS AOTFac_1 'Actively open-minded thinking, fact resistance: (reverse code) One should disregard evidence that conflicts with your established beliefs'.
VARIABLE LABELS AOTFac_2 'Actively open-minded thinking, fact resistance: It is important to persevere in your beliefs even when evidence is brought to bear against them'.
VARIABLE LABELS AOTFac_3 'Actively open-minded thinking, fact resistance:  (reverse code) Certain beliefs are just too important to abandon no matter how good a case can be made against them'.
VARIABLE LABELS AOTFac_4 'Actively open-minded thinking, fact resistance: Beliefs should always be revised in response to new information or evidence'.
VARIABLE LABELS AOTFac_5 'Actively open-minded thinking, fact resistance: People should always take into consideration evidence that goes against their beliefs'.

VALUE LABELS AOTDog_1 AOTDog_2 AOTDog_3 AOTDog_4 AOTDog_5 AOTDog_6 AOTFac_1 AOTFac_2 AOTFac_3 AOTFac_4 AOTFac_5 1'Disagree strongly' 2 'Disagree moderately' 3 'Disagree slightly' 4 'Agree slightly' 5 'Agree moderately' 6 'Agree strongly'.


FREQUENCIES AOTDog_1 AOTFac_1.

*******NEED FOR COGNITION (NFC)

Recode Q3.2_1HD (1=5)(2=4)(3=3)(4=2)(5=1) into NFC_1.
Recode Q3.2_2HD (else=copy) into NFC_2.
Recode Q3.2_3HD (1=5)(2=4)(3=3)(4=2)(5=1) into NFC_3.
Recode Q3.2_4HD (1=5)(2=4)(3=3)(4=2)(5=1) into NFC_4.
Recode Q3.2_5HD (1=5)(2=4)(3=3)(4=2)(5=1) into NFC_5.
Recode Q3.2_6HD (else=copy) into NFC_6.
Recode Q3.2_7HD (1=5)(2=4)(3=3)(4=2)(5=1) into NFC_7.
Recode Q3.2_8HD (1=5)(2=4)(3=3)(4=2)(5=1) into NFC_8.
Recode Q3.2_9HD (1=5)(2=4)(3=3)(4=2)(5=1) into NFC_9.
Recode Q3.2_10HD (else=copy) into NFC_10.
Recode Q3.2_11HD (else=copy) into NFC_11.
Recode Q3.2_12HD (1=5)(2=4)(3=3)(4=2)(5=1) into NFC_12.
Recode Q3.2_13HD (else=copy) into NFC_13.
Recode Q3.2_14HD (1=5)(2=4)(3=3)(4=2)(5=1) into NFC_14.
Recode Q3.2_15HD (1=5)(2=4)(3=3)(4=2)(5=1) into NFC_15.
Recode Q3.2_16HD (else=copy) into NFC_16.

VARIABLE LABELS NFC_1 'HOTDECKED Need for cognition: (reverse) I would prefer simple to complex problems'.
VARIABLE LABELS NFC_2 'HOTDECKED Need for cognition: I like to have the responsibility of handling a situation that requires a lot of thinking'.
VARIABLE LABELS NFC_3 'HOTDECKED Need for cognition: (reverse) Thinking is not my idea of fun'.
VARIABLE LABELS NFC_4 'HOTDECKED Need for cognition: (reverse) I would rather do something that requires little thought than something that is sure to challenge my thinking abilities'.
VARIABLE LABELS NFC_5 'HOTDECKED Need for cognition: (reverse) I try to avoid situations where there is a likely chance I will have to think in-depth about something'.
VARIABLE LABELS NFC_6 'HOTDECKED Need for cognition:  I find satisfaction in deliberating hard and for long hours'.
VARIABLE LABELS NFC_7 'HOTDECKED Need for cognition: (reverse) I only think as hard as I have to'.
VARIABLE LABELS NFC_8 'HOTDECKED Need for cognition: (reverse) I prefer to think about small, daily projects to long-term ones'.
VARIABLE LABELS NFC_9 'HOTDECKED Need for cognition: (reverse) I like tasks that require little thought once Ive learned them'.
VARIABLE LABELS NFC_10 'HOTDECKED Need for cognition: The idea of relying on thought to make my way to the top appeals to me'.
VARIABLE LABELS NFC_11 'HOTDECKED Need for cognition: I really enjoy a task that involves coming up with new solutions to problems'.
VARIABLE LABELS NFC_12 'HOTDECKED Need for cognition: (reverse) Learning new ways to think doesnt excite me that much'.
VARIABLE LABELS NFC_13 'HOTDECKED Need for cognition: I prefer a task that is intellectual, difficult, and important to one that is somewhat important but does not require much thought'.
VARIABLE LABELS NFC_14 'HOTDECKED Need for cognition: (reverse) I feel relief rather than satisfaction after completing a task that required a lot of mental effort'.
VARIABLE LABELS NFC_15 'HOTDECKED Need for cognition: Its enough for me that something gets the job done; I dont care how or why it works'.
VARIABLE LABELS NFC_16 'HOTDECKED Need for cognition: (reverse) I usually end up deliberating about issues even when they do not affect me personally'.

VALUE LABELS NFC_1 NFC_2 NFC_3 NFC_4 NFC_5 NFC_6 NFC_7 NFC_8 NFC_9 NFC_10 NFC_11 NFC_12 NFC_13 NFC_14 NFC_15 NFC_16 1'Extremely uncharacteristic' 2 'Somewhat uncharacteristic' 3 'Uncertain' 4 'Somewhat characteristic' 5 'Extremely characteristic'.

******** NEED FOR AFFECT

Recode Q3.3_5HD (else=copy) into NAff_6.
Recode Q3.3_6HD (else=copy) into NAff_7.
Recode Q3.3_7HD (1=5)(2=4)(3=3)(4=2)(5=1) into NAff_8.
Recode Q3.3_9HD (1=5)(2=4)(3=3)(4=2)(5=1) into NAff_9.
Recode Q3.3_10HD (1=5)(2=4)(3=3)(4=2)(5=1) into NAff_10.
Recode Q3.3_8HD (1=5)(2=4)(3=3)(4=2)(5=1) into NAff_11.
Recode Q3.3_11HD (1=5)(2=4)(3=3)(4=2)(5=1) into NAff_12.
Recode Q3.3_12HD (else=copy) into NAff_13.
Recode Q3.3_13HD (1=5)(2=4)(3=3)(4=2)(5=1) into NAff_14.
Recode Q3.3_14HD (else=copy) into NAff_15.
Recode Q3.3_15HD (1=5)(2=4)(3=3)(4=2)(5=1) into NAff_16.
Recode Q3.3_16HD (else=copy) into NAff_17.
Recode Q3.3_17HD (else=copy) into NAff_18.
Recode Q3.3_18HD (else=copy) into NAff_19.
Recode Q3.3_19HD (else=copy) into NAff_20.
Recode Q3.3_20HD (1=5)(2=4)(3=3)(4=2)(5=1) into NAff_21.
Recode Q3.3_21HD (1=5)(2=4)(3=3)(4=2)(5=1) into NAff_22.
Recode Q3.3_22HD (1=5)(2=4)(3=3)(4=2)(5=1) into NAff_23.
Recode Q3.3_23HD (else=copy) into NAff_24.
Recode Q3.3_24HD (1=5)(2=4)(3=3)(4=2)(5=1) into NAff_25.
Recode Q3.3_25HD (else=copy) into NAff_26.


VARIABLE LABELS NAff_1 'HOTDECKED Need for affect: (reverse) If I reflect on my past, I see that I tend to be afraid of feeling emotions'.
VARIABLE LABELS NAff_2  'HOTDECKED Need for affect: (reverse) I have trouble telling the people close to me that I love them'.
VARIABLE LABELS NAff_3  'HOTDECKED Need for affect: I feel that I need to experience strong emotions regularly'.
VARIABLE LABELS NAff_4  'HOTDECKED Need for affect: Emotions help people get along in life'.
VARIABLE LABELS NAff_5 'HOTDECKED Need for affect: I am a very emotional person'.
VARIABLE LABELS NAff_6 'HOTDECKED Need for affect: I think that it is important to explore my feelings'.
VARIABLE LABELS NAff_7  'HOTDECKED Need for affect:  I approach situations in which I expect to experience strong emotions'.
VARIABLE LABELS NAff_8 'HOTDECKED Need for affect: (reverse) I find strong emotions overwhelming and therefore try to avoid them'.
VARIABLE LABELS NAff_9 'HOTDECKED Need for affect: (reverse) I would prefer not to experience either the lows or highs of emotion'.
VARIABLE LABELS NAff_10  'HOTDECKED Need for affect: (reverse) I do not know how to handle my emotions, so I avoid them'.
VARIABLE LABELS NAff_11 'HOTDECKED Need for affect: (reverse) Emotions are dangerous—they tend to get me into situations that I would rather avoid'.
VARIABLE LABELS NAff_12  'HOTDECKED Need for affect: (reverse) Acting on one’s emotions is always a mistake'.
VARIABLE LABELS NAff_13  'HOTDECKED Need for affect: We should indulge our emotions'.
VARIABLE LABELS NAff_14 'HOTDECKED Need for affect: (reverse) Displays of emotions are embarrassing'.
VARIABLE LABELS NAff_15  'HOTDECKED Need for affect: Strong emotions are generally beneficial'.
VARIABLE LABELS NAff_16 'HOTDECKED Need for affect: (reverse) People can function most effectively when they are not experiencing strong emotions'.
VARIABLE LABELS NAff_17  'HOTDECKED Need for affect: Humans couldnt survive if we didnt experience emotions'.
VARIABLE LABELS NAff_18 'HOTDECKED Need for affect: It is important for me to be in touch with my feelings'.
VARIABLE LABELS NAff_19 'HOTDECKED Need for affect:  It is important for me to know how others are feeling'.
VARIABLE LABELS NAff_20 'HOTDECKED Need for affect: I like to dwell on my emotions'.
VARIABLE LABELS NAff_21  'HOTDECKED Need for affect: (reverse) I wish I could feel less emotion'.
VARIABLE LABELS NAff_22  'HOTDECKED Need for affect: (reverse) Avoiding emotional events helps me sleep better at night'.
VARIABLE LABELS NAff_23  'HOTDECKED Need for affect: (reverse) I am sometimes afraid of how I might act if I become too emotional'.
VARIABLE LABELS NAff_24  'HOTDECKED Need for affect: I feel like I need a good cry every now and then'.
VARIABLE LABELS NAff_25 'HOTDECKED Need for affect: (reverse) I would love to be the type of person who is totally logical and experiences little emotion'.
VARIABLE LABELS NAff_26 'HOTDECKED Need for affect: I like decorating my bedroom with a lot of pictures and posters of things emotionally significant to me'.

VALUE LABELS Naff_1 to Naff26 1 'Strongly disagree' 2 'Disagree ' 3 'Neither agree nor disagree' 4 'Agree ' 5 'Strongly agree'. 

*******NEED FOR COGNITIVE CLOSURE (NFClo)

Recode Q3.4_1HD (else=copy) into NFClo_1.
Recode Q3.4_2HD (else=copy) into NFClo_2.
Recode Q3.4_3HD (else=copy) into NFClo_3.
Recode Q3.4_4HD (else=copy) into NFClo_4.
Recode Q3.4_5HD (else=copy) into NFClo_5.
Recode Q3.4_6HD (else=copy) into NFClo_6.
Recode Q3.4_7HD (else=copy) into NFClo_7.
Recode Q3.4_8HD (else=copy) into NFClo_8.
Recode Q3.4_9HD (else=copy) into NFClo_9.
Recode Q3.4_10HD (else=copy) into NFClo_10.
Recode Q3.4_11HD (else=copy) into NFClo_11.
Recode Q3.4_12HD (else=copy) into NFClo_12.
Recode Q3.4_13HD (else=copy) into NFClo_13.
Recode Q3.4_14HD (else=copy) into NFClo_14.
Recode Q3.4_15HD (else=copy) into NFClo_15.


VARIABLE LABELS NFClo_1 'HOTDECKED Need for cognitive closure: I dont like situations that are uncertain'.
VARIABLE LABELS NFClo_2 'HOTDECKED Need for cognitive closure: I dislike questions which could be answered in many different ways'.
VARIABLE LABELS NFClo_3 'HOTDECKED Need for cognitive closure: I find that a well ordered life with regular hours suits my temperament'.
VARIABLE LABELS NFClo_4 'HOTDECKED Need for cognitive closure: I feel uncomfortable when I don’t understand the reason why an event occurred in my life'.
VARIABLE LABELS NFClo_5 'HOTDECKED Need for cognitive closure: I feel irritated when one person disagrees with what everyone else in a group believes'.
VARIABLE LABELS NFClo_6 'HOTDECKED Need for cognitive closure: I don’t like to go into a situation without knowing what I can expect from it'.
VARIABLE LABELS NFClo_7 'HOTDECKED Need for cognitive closure: When I have made a decision, I feel relieved'.
VARIABLE LABELS NFClo_8 'HOTDECKED Need for cognitive closure: When I am confronted with a problem, Im dying to reach a solution very quickly'.
VARIABLE LABELS NFClo_9 'HOTDECKED Need for cognitive closure: I would quickly become impatient and irritated if I would not find a solution to a problem immediately'.
VARIABLE LABELS NFClo_10 'HOTDECKED Need for cognitive closure: I dont like to be with people who are capable of unexpected actions'.
VARIABLE LABELS NFClo_11 'HOTDECKED Need for cognitive closure: I dislike it when a person’s statement could mean many different things'.
VARIABLE LABELS NFClo_12 'HOTDECKED Need for cognitive closure: I find that establishing a consistent routine enables me to enjoy life more'.
VARIABLE LABELS NFClo_13 'HOTDECKED Need for cognitive closure: I enjoy having a clear and structured mode of life'.
VARIABLE LABELS NFClo_14 'HOTDECKED Need for cognitive closure: I do not usually consult many different opinions before forming my own view'.
VARIABLE LABELS NFClo_15 'HOTDECKED Need for cognitive closure: I dislike unpredictable situations'.

VALUE LABELS NFClo_1 to NFClo_15 1'Completely disagree' 2 'Moderately disagree' 3 'Slightly disagree' 4 'Slightly agree ' 5 'Moderately agree ' 6 'Completely agree'.


*******NEED TO EVALUATE

*This first code concerns the branching question (#2) for need to evaluate. This code yeilds a score of 0, .25, .50, .75, or 1, where 1 is high. 

Do if sysmis(q4.2) and q4.2HD=1 and q4.3HD=1.
Compute NTEval2=0.
Else if sysmis(q4.2) and q4.2HD=1 and q4.3HD=2.
Compute NTEval2=0.25.
Else if sysmis(q4.2) and q4.2HD=2.
Compute NTEval2=0.5.
Else if sysmis(q4.2) and q4.2HD=3 and q4.4HD=1.
Compute NTEval2=1.
Else if sysmis(q4.2) and q4.2HD=3 and q4.4HD=2.
Compute NTEval2=0.75.
Else if q4.2=1 and sysmis(q4.3) and q4.3HD=1.
Compute NTEval2=0.
Else if q4.2=1 and sysmis(q4.3) and q4.3HD=2.
Compute NTEval2=0.25.
Else if q4.2=3 and sysmis(q4.4) and q4.4HD=1.
Compute NTEval2=1.
Else if q4.2=3 and sysmis(q4.4) and q4.4HD=2.
Compute NTEval2=0.75.
Else if q4.2=1 and q4.3=1.
Compute NTEval2=0.
Else if q4.2=1 and q4.3=2.
Compute NTEval2=0.25.
Else if q4.2=2.
Compute NTEval2=0.5.
Else if q4.2=3 and q4.4=1.
Compute NTEval2=1.
Else if q4.2=3 and q4.4=2.
Compute NTEval2=0.75.
End if.

FREQUENCIES NTEval2.

Recode Q4.1HD (2=0)(5=0.33)(3=.66)(1=1) into NEval_1.

Recode Q4.5HD (1=1)(2=0)(4=0.5) into NEval_3.
Execute.

FREQUENCIES Q4.1HD.

VARIABLE LABELS NEval_1 'HOTDECKED Need to evaluate: What about you Would you say you have opinions about almost everything about many things about some things or about very few things?'.
VALUE LABELS NEval_1 1 'Almost everything' 2 'Very few things' 3 'Many things' 5 'Some things'.
VARIABLE LABELS NTEval2 'HOTDECKED Need to evaluate: BRANCHING QUESTION Compared to the average person, do you have fewer opinions about whether things are good or bad about the same number of opinions or more opinions?'.
VARIABLE LABELS NEval_3 'HOTDECKED Need to evaluate: Do you think it is better have definite opinions about lots of things or remain neutral on most issues'.
VALUE LABELS NEval_3 1 'Have definite opinions about lots of things' 2 'Remain neutral' 4 'I dont know'.

*******COGNITIVE REFLECTION (CRT)

*CRT cannot be hot-decked
*Recoding cognitive reflection test into correct and not correct

*1. Ball and bat test. Correct = 5 cents.

FREQUENCIES Q5.3.
RECODE Q5.3 (' Five cents'=1) ('.0.05'=1) ('.05'=1) ('.05 cents'=1) ('$.05'=1) 
('$.05'=1) ('$0.05'=1) ('$0.05'=1) ('$.05'=1) ('$0.05'=1)('0.05'=1)('0.05$'=1)
('5 cents'=1) ('five cents'=1) ('Five cents'=1) ('The ball cost is 5 cents.'=1)
(ELSE=0)
INTO CRTBatBall.
FREQUENCIES CRTBatBall.

VARIABLE LABELS CRTBatBall 'Cognitive reflection: ball bat test'.

*2. Widget test. Correct = 5 minutes.

FREQUENCIES Q5.5.
RECODE Q5.5 ('5 Minutes'=1) ('5'=1)('5 m8nutes'=1) ('5 m8nutes'=1) ('5 min'=1) ('5 Min'=1) ('5 mins'=1)  
('5 mintues'=1) ('5 minuets'=1) ('5 minuta'=1)('5 minute'=1) ('5 minutes'=1) ('5 Minutes'=1) ('5 MINUTES'=1) ('5 minutes?'=1)
('5 minutes.'=1) ('5 munites'=1) ('Five minutes'=1) ('It would take just 5 minutes...the same amount of time'=1)('Same'=1) ('The same amount of time'=1) (ELSE=0)
INTO CRTWidget.
FREQUENCIES CRTWidget.

VARIABLE LABELS CRTWidget 'Cognitive reflection: lily pond test'.


*3. Lily test. Correct = 47 days.


FREQUENCIES Q5.7.
RECODE Q5.7 ('47'=1) ('47 days'=1) ('47 DAYS'=1) ('47 days.'=1) ('47days'=1)
('1 day less than it took to cover the whole lake'=1) ('half-covered in lily pads on the 47th day'=1) 
('Ohhhhh..so half the lake is covered in 47 days.. completely covered by the 48th day...'=1) 
('The patch doubles in size every day and so on the 47th day the patch will be half the size it is on the 48th day'=1) 
(ELSE=0)
INTO CRTLily.
FREQUENCIES CRTLily.

VARIABLE LABELS CRTLily 'Cognitive reflection: lily pond test'.


*******OPENNESS TO EXPERIENCE (O2E)

Recode Q6.1_1HD (else=copy) into O2E_1.
Recode Q6.1_2HD (1=7)(2=6)(3=5)(4=4)(5=3)(6=2)(7=1) into O2E_2.

VARIABLE LABELS O2E_1 'HOTDECKED Openess to experience: Open to new experiences, complex'.
VARIABLE LABELS O2E_2 'HOTDECKED Openess to experience: (reverse) Conventional, uncreative'.
VALUE LABELS O2E_1 O2E_2 1 'Disagree strongly' 2 'Disagree moderately' 3 'Disagree a little' 4 'Neither agree nor disagree' 5 'Agree a little' 6 'Agree moderately' 7 'Agree strongly'. 


********MORALIZED RATIONALITY

*The numbers assigned to the variables were unusual: 1, 14, 11, 4, 5, 12, and so we reassigned the numbers 1 to 7.

Recode Q6.2_1HD (1=1)(14=2)(11=3)(4=4)(5=5)(6=6)(12=7) into MoRat_1.
Recode Q6.2_2HD (1=1)(14=2)(11=3)(4=4)(5=5)(6=6)(12=7) into MoRat_2.
Recode Q6.2_3HD (1=1)(14=2)(11=3)(4=4)(5=5)(6=6)(12=7) into MoRat_3.
Recode Q6.2_4HD (1=1)(14=2)(11=3)(4=4)(5=5)(6=6)(12=7) into MoRat_4.
Recode Q6.2_5HD (1=1)(14=2)(11=3)(4=4)(5=5)(6=6)(12=7) into MoRat_5.
Recode Q6.2_6HD (1=1)(14=2)(11=3)(4=4)(5=5)(6=6)(12=7) into MoRat_6.
Recode Q6.2_7HD (1=1)(14=2)(11=3)(4=4)(5=5)(6=6)(12=7) into MoRat_7.
Recode Q6.2_8HD (1=7)(14=6)(11=5)(4=4)(5=3)(6=2)(12=1) into MoRat_8.
Recode Q6.2_9HD (1=7)(14=6)(11=5)(4=4)(5=3)(6=2)(12=1) into MoRat_9.


VARIABLE LABELS MoRat_1 'HOTDECKED Moralized rationality: Being skeptical about claims that are not backed up by evidence is a moral virtue'.
VARIABLE LABELS MoRat_2 'HOTDECKED Moralized rationality: Holding on to beliefs when there is substantial evidence against them is immoral'.
VARIABLE LABELS MoRat_3 'HOTDECKED Moralized rationality: It is morally wrong to trust your intuitions without rationally examining them'.
VARIABLE LABELS MoRat_4 'HOTDECKED Moralized rationality: It is morally wrong to rely on anything else other than logic and evidence when deciding what is true and what is not true'.
VARIABLE LABELS MoRat_5 'HOTDECKED Moralized rationality: It is a moral imperative that people can justify their beliefs using rational arguments and evidence'.
VARIABLE LABELS MoRat_6 'HOTDECKED Moralized rationality: It is immoral to hold irrational beliefs'.
VARIABLE LABELS MoRat_7 'HOTDECKED Moralized rationality: A person’s moral authority depends on their rationality'.
VARIABLE LABELS MoRat_8 'HOTDECKED Moralized rationality: (reverse) A person’s morality is in no way determined by their rationality'.
VARIABLE LABELS MoRat_9 'HOTDECKED Moralized rationality: (reverse) Whether a person can be convinced by reason and evidence is in no way indicative of their morality'.

VALUE LABELS MoRat_1 MoRat_2 MoRat_3 MoRat_4 MoRat_5 MoRat_6 MoRat_7 MoRat_8 MoRat_9 1 'Completely disagree' 7 'Completely agree'.


********PERSONAL IMPORTANCE OF RATIONALITY

*The numbers assigned to the variables were unusual: 1, 14, 11, 4, 5, 12, and so we reassigned numbers 1 to 7.

Recode Q6.2_10HD (1=1)(14=2)(11=3)(4=4)(5=5)(6=6)(12=7) into ImRat_1.
Recode Q6.2_11HD (1=1)(14=2)(11=3)(4=4)(5=5)(6=6)(12=7) into ImRat_2.
Recode Q6.2_12HD (1=1)(14=2)(11=3)(4=4)(5=5)(6=6)(12=7) into ImRat_3.
Recode Q6.2_13HD (1=1)(14=2)(11=3)(4=4)(5=5)(6=6)(12=7) into ImRat_4.
Recode Q6.2_14HD (1=1)(14=2)(11=3)(4=4)(5=5)(6=6)(12=7) into ImRat_5.
Recode Q6.2_15HD (1=1)(14=2)(11=3)(4=4)(5=5)(6=6)(12=7) into ImRat_6.

VARIABLE LABELS ImRat_1 'HOTDECKED Personal importance of rationality: It is important to me personally to be skeptical about claims that are not backed up by evidence'.
VARIABLE LABELS ImRat_2 'HOTDECKED Personal importance of rationality: It is important to me personally to remain rational and levelheaded even in heated arguments'.
VARIABLE LABELS ImRat_3 'HOTDECKED Personal importance of rationality: It is important to me personally to examine traditionally held beliefs using logic and evidence'.
VARIABLE LABELS ImRat_4 'HOTDECKED Personal importance of rationality: It is important to me personally that I can justify my beliefs using rational arguments and evidence'.
VARIABLE LABELS ImRat_5 'HOTDECKED Personal importance of rationality: It is important to me personally to critically examine my long-held beliefs'.
VARIABLE LABELS ImRat_6 'HOTDECKED Personal importance of rationality: It is important to me personally to be a rational person'.

****EPISTEMIC BELIEFS: Faith in intuition for facts

Recode Q6.3_1HD (else=copy) into FaInt_1.
Recode Q6.3_2HD (else=copy) into FaInt_2.
Recode Q6.3_3HD (else=copy) into FaInt_3.
Recode Q6.3_4HD (else=copy) into FaInt_4.


VARIABLE LABELS FaInt_1 'HOTDECKED Epistemic beliefs Faith in intuition for facts: I trust my gut to tell me whats true and whats not'.
VARIABLE LABELS FaInt_2 'HOTDECKED Epistemic beliefs Faith in intuition for facts: I trust my initial feelings about the facts'.
VARIABLE LABELS FaInt_3 'HOTDECKED Epistemic beliefs Faith in intuition for facts: My initial impressions are almost always right'.
VARIABLE LABELS FaInt_4 'HOTDECKED Epistemic beliefs Faith in intuition for facts: I can usually feel if a claim is true or false even if I cant explain how I know'.

Value labels FaInt_1 to FaInt_4 1 'Strongly disagree' 2 'Disagree ' 3 'Neither agree nor disagree' 4 'Agree ' 5 'Strongly agree'. 

****EPISTEMIC BELIEFS: Need for evidence

Recode Q6.3_5HD (else=copy) into NFEv_1.
Recode Q6.3_6HD (else=copy) into NFEv_2.
Recode Q6.3_7HD (else=copy) into NFEv_3.
Recode Q6.3_8HD (else=copy) into NFEv_4.

VARIABLE LABELS NFEv_1 'HOTDECKED Epistemic beliefs Need for evidence: Evidence is more important than whether something feels true'.
VARIABLE LABELS NFEv_2 'HOTDECKED Epistemic beliefs Need for evidence: A hunch needs to be confirmed with data'.
VARIABLE LABELS NFEv_3 'HOTDECKED Epistemic beliefs Need for evidence: I trust the facts, not my instincts, to tell me what is true'.
VARIABLE LABELS NFEv_4 'HOTDECKED Epistemic beliefs Need for evidence: I need to be able to justify my beliefs with evidence'.

VALUE LABELS NFEv_1 to NFEv_4 1 'Strongly disagree' 2 'Disagree ' 3 'Neither agree nor disagree' 4 'Agree ' 5 'Strongly agree'. 

****EPISTEMIC BELIEFS: Truth is political

Recode Q6.3_9HD (else=copy) into TruPol_1.
Recode Q6.3_10HD (else=copy) into TruPol_2.
Recode Q6.3_11HD (else=copy) into TruPol_3.
Recode Q6.3_12HD (else=copy) into TruPol_4.

VARIABLE LABELS TruPol_1 'HOTDECKED Epistemic beliefs Truth is political: Facts are dictated by those in power'.
VARIABLE LABELS TruPol_2 'HOTDECKED Epistemic beliefs Truth is political: "Facts" depend on their political context'. 
VARIABLE LABELS TruPol_3 'HOTDECKED Epistemic beliefs Truth is political: What counts as truth is defined by power'.
VARIABLE LABELS TruPol_4 'HOTDECKED Epistemic beliefs Truth is political: Scientific conclusions are shaped by politics'.

VALUE LABELS TruPol_1 1 'Strongly disagree' 2 'Disagree ' 3 'Neither agree nor disagree' 4 'Agree ' 5 'Strongly agree'. 
VALUE LABELS TruPol_2 1 'Strongly disagree' 2 'Disagree ' 3 'Neither agree nor disagree' 4 'Agree ' 5 'Strongly agree'. 
VALUE LABELS TruPol_3 1 'Strongly disagree' 2 'Disagree ' 3 'Neither agree nor disagree' 4 'Agree ' 5 'Strongly agree'. 
VALUE LABELS TruPol_4 1 'Strongly disagree' 2 'Disagree ' 3 'Neither agree nor disagree' 4 'Agree ' 5 'Strongly agree'. 

*****SCIENCE CURIOSITY

VARIABLE LABELS Q7.1_8HD 'HOTDECKED Science curiosity - news - Scientific research or discoveries'.
VALUE LABELS Q7.1_8HD 1 'Not at all' 2 'A little but not closely' 3 'Closely but not very closely' 4 'very closely'.

VARIABLE LABELS Q7.1_9HD 'HOTDECKED Science curiosity - news - New technologies'.
VALUE LABELS Q7.1_9 1 'Not at all' 2 'A little but not closely' 3 'Closely but not very closely' 4 'very closely'.

VARIABLE LABELS Q7.5_5HD 'HOTDECKED Science curiosity: interest in scientific research or discoveries'.
VALUE LABELS Q7.5_5HD 1 'not at all interested' 2 'Slghtly interested' 3 'More than slightly interested' 4 'very interested'.

VARIABLE LABELS Q7.5_6HD 'HOTDECKED Science curiosity: interest in scientific research or discoveries'.
VALUE LABELS Q7.5_6HD 1 'not at all interested' 2 'Slghtly interested' 3 'More than slightly interested' 4 'very interested'.

VARIABLE LABELS SC_Folo1 'HOTDECKED Science curiosity - news - Scientific research or discoveries'.
value labels SC_Folo1 1 'Not at all' 2 'A little but not closely' 3 'Closely but not very closely' 4 'very closely'.

VARIABLE LABELS SC_Folo2 'HOTDECKED Science curiosity - news - New technologies'.
value labels SC_Folo2 1 'Not at all' 2 'A little but not closely' 3 'Closely but not very closely' 4 'very closely'.

VARIABLE LABELS SC_Int1 'HOTDECKED Science curiosity: interest in scientific research or discoveries'.
VALUE LABELS SC_Int1 1 'not at all interested' 2 'Slghtly interested' 3 'More than slightly interested' 4 'very interested'.

VARIABLE LABELS SC_Int2 'HOTDECKED Science curiosity: interest in scientific research or discoveries'.
VALUE LABELS SC_Int2 1 'not at all interested' 2 'Slghtly interested' 3 'More than slightly interested' 4 'very interested'.


*****SCIENCE KNOWLEDGE 
*This first code concerns the branching question (#7) for science knowledge. This code yeilds a score of 0 or 1, where 1 is correct.

VARIABLE LABELS Q8.3HD 'HOTDECKED Does the Earth go around the Sun, or does the Sun go around the Earth?'.
Value labels Q8.3HD 1 'Earth around the sun' 2 'Sun around the earth'.

Variable Labels Q8.4HD 'HOTDECKED How long does it take for the Earth to go around the Sun?'.
Value labels Q8.4HD 1 'One day' 4 'One month' 5 'One year'.

Do if sysmis(Q8.3) and Q8.3HD=1 and Q8.4HD=1.
Compute Sknow_7=0.
Else if sysmis(Q8.3) and Q8.3HD=1 and Q8.4HD=4.
Compute Sknow_7=0.
Else if sysmis(Q8.3) and Q8.3HD=1 and Q8.4HD=5.
Compute Sknow_7=1.
Else if q8.3=1 and sysmis(q8.4) and Q8.4hd=5.
Compute Sknow_7=1.
Else if Q8.3=2.
Compute Sknow_7=0.
Else if Q8.3=1 and Q8.4=1.
Compute Sknow_7=0.
Else if Q8.3=1 and Q8.4=4.
Compute Sknow_7=0.
Else if Q8.3=1 and Q8.4=5.
Compute Sknow_7=1.
End if.

FREQUENCIES Sknow_7.

VARIABLE LABELS Sknow_7 'HOTDECKED Does the Earth go around the Sun, or does the Sun go around the Earth?'.
Value labels Sknow_7 1 'Earth around the sun CORRECT' 0 'Sun around the earth INCORRECT'.

*Other science knowledge variables

Recode Q8.1_1HD (1=0)(2=1) into SKnow_1.
Recode Q8.1_2HD (1=0)(2=1) into SKnow_2.
Recode Q8.1_3HD (1=1)(2=0) into SKnow_3.
Recode Q8.1_4HD (1=0)(2=1) into SKnow_4.
Recode Q8.2HD (4=1)(1=0)(5=0)(3=0)(else=sysmis) into SKnow_5.
Recode Q8.3HD (1=1)(2=0) into SKnow_6.
*See above for Sknow_7.
Recode Q8.5HD (1=0)(2=1) into Sknow_8.
Recode Q8.6HD (1=0)(2=1) into Sknow_9.
Recode Q8.7HD (1=1)(2=0) into Sknow_10.

Frequencies Sknow_7, Sknow_1 to Sknow_10.

VARIABLE LABELS SKnow_1  'HOTDECKED Science knowledge - All radioactivity is man-made'.
VALUE LABELS SKnow_1 0 'Incorrect' 1 'Correct'.
VARIABLE LABELS SKnow_2  'HOTDECKED Science knowledge - Lasers work by focusing sound waves'.
VALUE LABELS SKnow_2 0 'Incorrect' 1 'Correct'.
VARIABLE LABELS SKnow_3  'Science knowledge - Electrons are smaller than atoms'.
VALUE LABELS SKnow_3 0 'HOTDECKED Incorrect' 1 'Correct'.
VARIABLE LABELS SKnow_4  'HOTDECKED Science knowledge - Antibiotics kill viruses as well as bacteria'.
VALUE LABELS SKnow_4 0 'Incorrect' 1 'Correct'.
VARIABLE LABELS SKnow_5  'HOTDECKED Science knowledge - Which gas most common - nitrogen'.
VALUE LABELS SKnow_2 0 'Incorrect' 1 'Correct'.
VARIABLE LABELS SKnow_6 'HOTDECKED Does the Earth go around the Sun, or does the Sun go around the Earth?'.
Value labels SKnow_6 1 0 'Incorrect' 1 'Correct'.
VARIABLE LABELS Sknow_8  'HOTDECKED Science knowledge - Controlled drug trial - best way to test - first way 1000 vs second way 500 and 500 '.
Value labels SKnow_8 1 0 'Incorrect' 1 'Correct'.
VARIABLE LABELS Sknow_9  'HOTDECKED Science knowledge - Odds of genetic illness -Does this mean that if their first child has the illness, the next three will not?'.
Value labels SKnow_9 1 0 'Incorrect' 1 'Correct'.
VARIABLE LABELS Sknow_10  'HOTDECKED Science knowledge - Odds of genetic illness - all three have the same chances'.
Value labels SKnow_10 1 0 'Incorrect' 1 'Correct'.


*** DEFERENCE TO SCIENTIFIC AUTHORITY

Recode Q9.1_1HD (else=copy) into DefSci_1.
Recode Q9.1_6HD (else=copy) into DefSci_2.

VARIABLE LABELS DefSci_1 'HOTDECKED Scientists know best what is good for the public'.
Value Labels DefSci_1 1 'Strongly disagree' 2 'Disagree ' 3 'Somewhat disagree' 4 'Neither agree nor disagree' 5 'Somewhat agree' 6 'Agree ' 7 'Strongly agree'. 
VARIABLE LABELS DefSci_2 'HOTDECKED Scientists should do what they think is best, even if they have to persuade people that it is right'.
Value Labels DefSci_2 1 'Strongly disagree' 2 'Disagree ' 3 'Somewhat disagree' 4 'Neither agree nor disagree' 5 'Somewhat agree' 6 'Agree ' 7 'Strongly agree'. 

*** RELIGIOUS INVOLVEMENT

Recode Q9.2HD (1=5)(2=4)(3=3)(4=2)(5=1) into Rel_Invo.

VARIABLE LABELS Rel_Invo 'HOTDECKED How would you classify your level of involvement with your religion or spirituality?'.
VALUE LABELS Rel_Invo 1 'Very inactive' 2 'Moderately inactive' 3 'Neither active no inactive' 4 'Moderately active' 5 'Very active'.

Frequencies Rel_Invo.
DESCRIPTIVES Rel_Invo.

*** RELIGIOUS FUNDAMENTALISM

Recode Q9.3_1HD (else=copy) into RelFund1.
Recode Q9.3_2HD (else=copy) into RelFund2.
Recode Q9.3_3HD (else=copy) into RelFund3.
Recode Q9.3_4HD (else=copy) into RelFund4.
Recode Q9.3_5HD (else=copy) into RelFund5.
Recode Q9.3_6HD (else=copy) into RelFund6.

VARIABLE LABELS RelFund1 'HOTDECKED Religious fundamentalism - God has given humanity a complete, unfailing guide to happiness and salvation, which must be totally followed'.
VALUE LABELS RelFund1 1 'Strongly disagree' 2 'Disagree ' 3 'Somewhat disagree' 4 'Neither agree nor disagree' 5 'Somewhat agree' 6 'Agree ' 7 'Strongly agree'.
VARIABLE LABELS RelFund2 'HOTDECKED Religious fundamentalism - The basic cause of evil in this world is Satan, who is still constantly and ferociously fighting against God'.
VALUE LABELS RelFund2 1 'Strongly disagree' 2 'Disagree ' 3 'Somewhat disagree' 4 'Neither agree nor disagree' 5 'Somewhat agree' 6 'Agree ' 7 'Strongly agree'.
VARIABLE LABELS RelFund3 'HOTDECKED Religious fundamentalism -  There is a particular set of religious teachings in this world that are so true, you cant go any deeper because they are the basic, bedrock message that God has given humanity'.
VALUE LABELS RelFund3 1 'Strongly disagree' 2 'Disagree ' 3 'Somewhat disagree' 4 'Neither agree nor disagree' 5 'Somewhat agree' 6 'Agree ' 7 'Strongly agree'.
VARIABLE LABELS RelFund4 'HOTDECKED Religious fundamentalism - When you get right down to it, there are basically only two kinds of people in the world: the Righteous, who will be rewarded by God; and the rest, who will not'.
VALUE LABELS RelFund4 1 'Strongly disagree' 2 'Disagree ' 3 'Somewhat disagree' 4 'Neither agree nor disagree' 5 'Somewhat agree' 6 'Agree ' 7 'Strongly agree'.
VARIABLE LABELS RelFund5 'HOTDECKED Religious fundamentalism - To lead the best, most meaningful life, one must belong to the one, fundamentally true religion'.
VALUE LABELS RelFund5 1 'Strongly disagree' 2 'Disagree ' 3 'Somewhat disagree' 4 'Neither agree nor disagree' 5 'Somewhat agree' 6 'Agree ' 7 'Strongly agree'.
VARIABLE LABELS RelFund6 'HOTDECKED Religious fundamentalism - The fundamentals of Gods religion should never be tampered with, or compromised with other beliefs'.
VALUE LABELS RelFund6 1 'Strongly disagree' 2 'Disagree ' 3 'Somewhat disagree' 4 'Neither agree nor disagree' 5 'Somewhat agree' 6 'Agree ' 7 'Strongly agree'.

*** PARTY IDENTITY

*These were not hot-decked

Variable labels Q10.1 'Party identificiation'.
*full text: Generally speaking, when it comes to political parties in the United States, how would you best describe yourself?.
VALUE LABELS Q10.1 1 'A strong Democrat'  2 'A not strong Democrat' 3 'Independent lean Democrat' 4 'Independent close to neither party' 5 'Independent lean Republican' 6 'A not-strong Republican' 7 'strong Republican'.

Variable labels Party_ID 'Party identificiation'.





***********CONDITIONS***************

***Making condition variables.

*The variable "message" determines whether the participant was exposed to any message, by checking for their time looking at the messages. 
*The only way to get a zero is to be in the control condition and not be exposed to any message.

Recode q13.3_page_submit (sysmis=0)(else=copy) into message1.
Recode q13.5_page_submit (sysmis=0)(else=copy) into message2.
Recode q14.3_page_submit (sysmis=0)(else=copy) into message3.
Recode q14.5_page_submit (sysmis=0)(else=copy) into message4.

FREQUENCIES message1 message2 message3 message4.

VARIABLE LABELS message1 'Participant exposed to profracking message - 0 means no numbers mean yes'.
VALUE LABELS message1 0 'Participant *not* exposed to  profracking message'.

VARIABLE LABELS message2 'Participant exposed to antifracking message - 0 means no  numbers mean yes'.
VALUE LABELS message2 0 'Participant *not* exposed to message'.

VARIABLE LABELS message3 'Participant exposed to profracking message - 0 means no numbers mean yes'.
VALUE LABELS message3 0 'Participant *not* exposed to message'.

VARIABLE LABELS message4 'Participant exposed to antifracking message - 0 means no numbers mean yes'.
VALUE LABELS message4 0 'Participant *not* exposed to message'.

FREQUENCIES message1 message2 message3 message4.

*This next line of code gives everyone a time that they were exposed to their message. 
*The zeros are people who did not get a message. 

Compute message =message1+message2+message3+message4.

VARIABLE LABELS message 'Treatment exposure - numbers mean R recieved treatment'.

FREQUENCIES message.

freq condition1 condition2 condition3 condition4.

VARIABLE LABELS condition1 'Received counter-attitudinal message - yes no'.
VALUE LABELS condition1 0  'Did *not* recieve counter-attitudinal message' 1  'Recieved counter-attitudinal message'.

VARIABLE LABELS condition2 'Received counter-attitudinal message - yes no'.
VALUE LABELS condition2 0  'Did *not* recieve counter-attitudinal message' 2  'Recieved counter-attitudinal message'.

VARIABLE LABELS condition3 'Received counter-attitudinal message - yes no'.
VALUE LABELS condition3 0 'Did *not* recieve counter-attitudinal message' 1 'Recieved counter-attitudinal message'.

VARIABLE LABELS condition4 'Received counter-attitudinal message - yes no'.
VALUE LABELS condition4 0  'Did *not* recieve counter-attitudinal message' 2  'Recieved counter-attitudinal message'.

freq condition1 condition2 condition3 condition4.

*This variable that shows which message they were exposed to, based on their answer to the first question about fracking.
*Question q2.1_1 is the initial belief score "Hydraulic fracturing or "fracking" may help to stop climate change."
*1 - "Extremely confident this is false and 9 = "Extremely confident this is true."
*//////If the message is greater than 0 (control condition) and T1 greater than 6, message condition 1.
*///////If the message is greater than 0 and and T1 is less than 5, message condition 2.
*///////If the message is 0, assign control condition. 

Do if message>0 and q2.1_1<6.
Compute Msg_cond=1.
Else if message>0 and q2.1_1>5.
Compute Msg_cond=2.
Else if message=0.
Compute Msg_cond=0.
End if.

Frequencies Msg_cond.
VARIABLE LABELS Msg_cond 'This variable that shows which message they were exposed to based on their answer to the first question about fracking.'

*Dummy variable for whether they were randomly assigned to see a message or not.
*0 = control condition 1 = got a message

Recode message (0=0)(else=1) into Msg_DC.

Frequencies Msg_DC.
VARIABLE LABELS Msg_DC 'Dummy variable for whether they were randomly assigned to see a message or not'.
VALUE LABELS Msg_DC 0 'No message recieved' 1 'Message recieved'.

*Dummy variable that specifies those who were initially neutral on fracking as missing.
Do if q2.1_1=5.
Compute Msg_DC_NoN=9999.
Else if q2.1_1~=5.
Compute Msg_DC_NoN=Msg_DC.
End if.

Frequencies Msg_DC_Non.
VARIABLE LABELS Msg_DC_Non 'Dummy variable that specifies those who were initially neutral on fracking as missing'.




***********MAKING GROUPS******************

*Make two groups - pro-fracking (exclude con, neutral) and con-fracking (exclude pro, neutral)
*Group 1: profracking - 6 to 9, exclude 1 to 5 
*Group 2: antifracking - 1 to 4, exclude 5 to 9

FREQUENCIES q2.1_1. 

*Create dummy variable that excludes 5 - 9. People who answer 1 - 4 are left and they are anti-fracking. 
*Ordinary frequencies of q2.1_1: 1 - 243 2 = 75 3 = 65 4 = 50 [total 431] 

Do if q2.1_1=5.
Compute Msg_DC_antifracki=9999.
Else if q2.1_1=6.
Compute Msg_DC_antifracki=9999.
Else if q2.1_1=7.
Compute Msg_DC_antifracki=9999.
Else if q2.1_1=8.
Compute Msg_DC_antifracki=9999.
Else if q2.1_1=9.
Compute Msg_DC_antifracki=9999.
Else if q2.1_1=4.
Compute Msg_DC_antifracki=Msg_DC.
Else if q2.1_1=3.
Compute Msg_DC_antifracki=Msg_DC.
Else if q2.1_1=2.
Compute Msg_DC_antifracki=Msg_DC.
Else if q2.1_1=1.
Compute Msg_DC_antifracki=Msg_DC.
End if.

Frequencies Msg_DC_antifracki.

Recode Msg_DC_antifracki (9999=SYSMIS)(else=COPY) into Msg_DC_antifrack.

Frequencies Msg_DC_antifrack.
VARIABLE LABELS Msg_DC_antifrack 'Group that is antifracking at T1'.

*Create dummy variable that excludes 1 - 5. People who answer 6 - 9 are left and they are pro-fracking. 
*Ordinary frequencies of q2.1_1: 6 = 67 7 = 61 8 = 49 9 = 75 [total 252]s

Do if q2.1_1=5.
Compute Msg_DC_profracki=9999.
Else if q2.1_1=4.
Compute Msg_DC_profracki=9999.
Else if q2.1_1=3.
Compute Msg_DC_profracki=9999.
Else if q2.1_1=2.
Compute Msg_DC_profracki=9999.
Else if q2.1_1=1.
Compute Msg_DC_profracki=9999.
Else if q2.1_1=6.
Compute Msg_DC_profracki=Msg_DC.
Else if q2.1_1=7.
Compute Msg_DC_profracki=Msg_DC.
Else if q2.1_1=8.
Compute Msg_DC_profracki=Msg_DC.
Else if q2.1_1=9.
Compute Msg_DC_profracki=Msg_DC.
End if.

Frequencies Msg_DC_profracki.

Recode Msg_DC_profracki (9999=SYSMIS)(else=COPY) into Msg_DC_profrack.

Frequencies Msg_DC_profrack.
VARIABLE LABELS Msg_DC_profrack 'Group that is profracking at T1'.

VARIABLE LABELS Msg_DC_antifracki  'Do not use: Variable created as intermediate step to create groups'.
VARIABLE LABELS Msg_DC_profracki 'Do not use: Variable created as intermediate step to create groups'.

 

********TIME 1 BELIEF*************

VARIABLE LABELS Q2.1_1 'Time 1 Confidence in fracking before recieving treatment or control'.
*full text: First, we would like to get your opinion on one method of energy production/ 
* /Hydraulic fracturing or ‘fracking’ is a way to extract natural gas from shale rock deep underground.
* /Please indicate your confidence that the following statement about fracking is true or false. - Hydraulic fracturing or "fracking" may help to stop climate change.
VALUE LABELS Q2.1_1 1 'Extremely confident this is false' 5 'Unsure' 9 'Extremely confident this is true'.

VARIABLE LABELS T1belief 'Time 1 Confidence in fracking before recieving treatment or control'.
VALUE LABELS T1belief 1 'Extremely confident this is false' 5 'Unsure' 9 'Extremely confident this is true'.



*********ARGUMENT STRENGTH**************

*Making single argument strength variable.

FREQUENCIES Q13.2 Q13.4.

Recode Q13.2 (sysmis=0)(else=copy) into ProStr_1.
VARIABLE LABELS ProStr_1 'Argument strength rating - profracking message for antifracking group'.

Recode Q13.4 (sysmis=0)(else=copy) into AntStr_1.
VARIABLE LABELS AntStr_1 'Argument strength rating - antifracking message for profracking group'.

Recode Q14.2 (sysmis=0)(else=copy) into ProStr_2.
VARIABLE LABELS ProStr_2 'Argument strength rating - profracking message for antifracking group'.

Recode Q14.4 (sysmis=0)(else=copy) into AntStr_2.
VARIABLE LABELS  AntStr_2 'Argument strength rating - antifracking message for profracking group'.

Frequencies ProStr_1 ProStr_2 AntStr_1 AntStr_2.

Compute AStrengt =ProStr_1+AntStr_1+ProStr_2+AntStr_2.

Frequencies AStrengt.
VARIABLE LABELS AStrengt 'Do not use - intermediate variable to create argument strength'.

Recode AStrengt (0=sysmis)(else=copy) into AStreng2.

Frequencies Astreng2.
VARIABLE LABELS Astreng2 'Argument strength rating'.

DESCRIPTIVES Astreng2.




***********CREATING AND CALCULATING THE  COGNITIVE STYLE VARIABLES*****************

*AOT fact resistance and dogmatism

RELIABILITY
  /VARIABLES= AOTDog_1 AOTDog_2 AOTDog_3 AOTDog_4 AOTDog_5 AOTDog_6
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.

RELIABILITY
  /VARIABLES= AOTFac_1 AOTFac_2 AOTFac_3 AOTFac_4 AOTFac_5
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.

DESCRIPTIVES AOTDog AOTFac.

*Computing the composite variables.
Compute AOTDog=mean(AOTDog_1 to AOTDog_6).
Compute AOTFac=mean(AOTFac_1 to AOTFac_5).
VALUE LABELS AOTDog_1 to AOTDog_6 1 'Disagree strongly' 2 'Disagree moderately' 3 'Disagree slightly' 4 'Agree slightly' 5 'Agree moderately' 6 'Agree strongly'.  
VALUE LABELS AOTFac_1 to AOTFac_5 1 'Disagree strongly' 2 'Disagree moderately' 3 'Disagree slightly' 4 'Agree slightly' 5 'Agree moderately' 6 'Agree strongly'.  
Variable labels AOTDog 'HOTDECKED Actively open-minded thinking, dogmatism composite variable'.
Variable labels AOTFac 'HOTDECKED Actively open-minded thinking, fact resistant composite variable'.

*Need for cognition

RELIABILITY
  /VARIABLES= NFC_1 NFC_2 NFC_3 NFC_4 NFC_5 NFC_6 NFC_7 NFC_8 NFC_9 NFC_10 NFC_11 NFC_12 NFC_13 NFC_14 NFC_15 NFC_16
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.

Compute  NFC=mean(NFC_1 to NFC_16).
Frequencies NFC_1 to NFC.
DESCRIPTIVES NFC.
VARIABLE LABELS NFC 'HOTDECEKED Need for cognition scale variable'.
VALUE LABELS NFC_1 to NFC_15 1 'Extremely uncharacteristic' 2 'Somewhat uncharacteristic' 3 'Uncertain' 4 'Somewhat characteristic' 5 'Extremely characteristic'.  

*Need for affect

RELIABILITY
  /VARIABLES= NAff_1 NAff_2 NAff_3 NAff_4 NAff_5 NAff_6 NAff_7 NAff_8 NAff_9 NAff_10 NAff_11 NAff_12 NAff_13 NAff_14 NAff_15  NAff_16 NAff_17 NAff_18 NAff_19 NAff_20 NAff_21 NAff_22 NAff_23 NAff_24 NAff_25
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.
Compute NAff=mean(NAff_1 to NAff_26).
FREQUENCIES NAff_1 to NAff.
DESCRIPTIVES NAff.
VARIABLE Labels NAff 'HOTDECKED Need for affect: composite variable'.
VALUE LABELS NAff_1 to NAff_26 1 'Strongly disagree' 2 'Disagree' 3 'Neither agree nor disagree' 4 'Agree' 5 'Strongly agree'. 

*Need for closure

RELIABILITY
  /VARIABLES= NFClo_1 NFClo_2 NFClo_3 NFClo_4 NFClo_5 NFClo_6 NFClo_7 NFClo_8 NFClo_9 NFClo_10 NFClo_11 NFClo_12 NFClo_13 NFClo_14 NFClo_15
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.

Compute NFClo=mean(NFClo_1 to NFClo_15).
VARIABLE LABELS NFClo 'HOTDECKED Need for cognitive closure: scale variable'.
VALUE LABELS NFClo_1 to NFClo_15 1 'Completely disagree' 2 'Moderately disagree' 3 'Slightly disagree' 4 'Slightly agree' 5 'Moderately agree' 6 'Completely disagree'.

FREQUENCIES NFClo_1 to NFClo.
DESCRIPTIVES NFClo.

*Need to evaluate

Compute NEval=mean(NEval_1,NTEval2,NEval_3).
RELIABILITY
  /VARIABLES= NEval_1 NTEval2 NEval_3
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.
Frequencies Q4.1HD NEval_1 NTEval2 Q4.5HD NEval_3 NEval.
DESCRIPTIVES NEval.
Variable labels NEval 'HOTDECKED Need to evaluate composite variable'.

*Cognitive reflection

RELIABILITY
  /VARIABLES= CRTBatBall CRTWidget CRTLily
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.
*Alpha = .716.
Compute CRTtotal= (CRTBatBall + CRTWidget + CRTLily).
VARIABLE LABELS CRTtotal 'HOTDECKED Total cognitive reflection test score'.
FREQUENCIES CRTtotal.
DESCRIPTIVES CRTtotal.

*Openness to experience

Compute O2E=mean(O2E_1,O2E_2).

*Spearman's rho for two-item reliabilty for Openness to Experience.
NONPAR CORR
  /VARIABLES=O2E_1 O2E_2
  /PRINT=SPEARMAN TWOTAIL NOSIG
  /MISSING=LISTWISE.
DESCRIPTIVES O2E.
VARIABLE LABELS O2E 'HOTDECKED Openess to experience: scale variable'.

*Moralized rationality

Compute MoRat=mean(MoRat_1, MoRat_2, MoRat_3, MoRat_4, MoRat_5, MoRat_6, MoRat_7, MoRat_8, MoRat_9).
Variable labels MoRat 'HOTDECKED Moralized rationality composite variable'.
VALUE LABELS MoRat_1 to MoRat_9 1 'Completely disagree' 7 'Completely agree'.
Frequencies MoRat.
RELIABILITY
  /VARIABLES= MoRat_1 MoRat_2 MoRat_3 MoRat_4 MoRat_5 MoRat_6 MoRat_7 MoRat_8 MoRat_9
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.
DESCRIPTIVES MoRat.

*Importance of rationality

Compute ImRat=mean(ImRat_1, ImRat_2, ImRat_3, ImRat_4, ImRat_5, ImRat_6).
Variable labels ImRat 'HOTDECKED Personal importance of rationality composite variable.'
VALUE LABELS ImRat_1 ImRat_2 ImRat_3 ImRat_4 ImRat_5 ImRat_6 1 'Completely disagree' 7 'Completely agree'.
Frequencies ImRat_1 to ImRat.
DESCRIPTIVES ImRat.
RELIABILITY
  /VARIABLES= ImRat_1 ImRat_2 ImRat_3 ImRat_4 ImRat_5 ImRat_6
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.

*Faith in intuition for facts

Compute FaInt=mean(FaInt_1 to FaInt_4).
Frequencies FaInt_1 to FaInt.
RELIABILITY
  /VARIABLES= FaInt_1 FaInt_2 FaInt_3 FaInt_4
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.
Variable labels FaInt 'HOTDECKED Epistemic beliefs: Faith in intuiton for facts composite variable'.

DESCRIPTIVES FaInt.

*Need for evidence

Compute NFEv=mean(NfEv_1 to NFEv_4).
Frequencies NFEv_1 to NFEv.
RELIABILITY
  /VARIABLES= NFEv_1 NFEv_2 NFEv_3 NFEv_4
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.
VARIABLE LABELS NFEv 'HOTDECKED Epistemic beliefs need for evidence composite variable'.
DESCRIPTIVES NFEv.

*Truth is political

Compute TruPol=mean(TruPol_1 to TruPol_4).
Frequencies TruPol_1 to TruPol.
RELIABILITY
  /VARIABLES= TruPol_1 TruPol_2 TruPol_3 TruPol_4
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.
Variable labels TruPol 'HOTDECKED Epistemic beliefs Truth is political composite variable'.
DESCRIPTIVES TruPol.

*Science curiosity
  
 RELIABILITY
  /VARIABLES= SC_Folo1 SC_Folo2 SC_Int1 SC_Int2
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.
Compute SciCur=mean(SC_Folo1, SC_Folo2, SC_Int1, SC_Int2).
variable labels SciCur 'HOTDECKED Science curiosity composite variable'.

DESCRIPTIVES SciCur.

*Science knowledge

Compute Sknow=sum(Sknow_7,SKnow_1 to SKnow_10).
Frequencies Sknow.
RELIABILITY
  /VARIABLES= SKnow_1 SKnow_2 SKnow_3 SKnow_4 SKnow_5 SKnow_6 SKnow_7 SKnow_8 SKnow_9 SKnow_10
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.
VARIABLE LABELS Sknow 'HOTDECKED Science knowledge'.

DESCRIPTIVES Sknow.

*Deference to scientific authority

Compute DefSci2=mean(DefSci_1, DefSci_2).

NONPAR CORR
  /VARIABLES=DefSci_1 DefSci_2
  /PRINT=SPEARMAN TWOTAIL NOSIG
  /MISSING=LISTWISE.
DESCRIPTIVES DefSci2.
VARIABLE LABELS DefSci2 'HOTDECKED Deference to scientfic authority two-item measure'.

*Religious fundamentalism

Compute RelFund=mean(RelFund1 to RelFund6).

Frequencies RelFund1 to RelFund.

RELIABILITY
  /VARIABLES= RelFund1 RelFund2 RelFund3 RelFund4 RelFund5 RelFund6
  /SCALE('ALL VARIABLES') ALL
  /MODEL=ALPHA
  /SUMMARY=TOTAL.
VARIABLE LABELS RelFund 'HOTDECKED Religious fundamentalism - scale variable'. 
DESCRIPTIVES RelFund.

*Relgious involvement

DESCRIPTIVES Rel_Invo.


*****DEMOGRAPHICS

****//////////////////Demographics cross tabs

*Creating one message variable to use as dummy 

Do if Msg_DC_antifrack=0.
Compute Msg_DC_Both=0.
ELSE IF Msg_DC_antifrack=1.
Compute Msg_DC_Both=0.
End if.

DO if Msg_DC_profrack=0.
Compute Msg_DC_Both=1.
Else if Msg_DC_profrack=1.
Compute Msg_DC_Both=1.
End if.

FREQUENCIES Msg_DC_Both Msg_DC_antifrack Msg_DC_profrack.

VALUE LABELS Msg_DC_Both 0 'antifracking group' 1 'profracking group'. 
VARIABLE LABELS Msg_DC_Both 'Variable to use in cross tabs of anti and pro fracking groups on demographic descriptives'.
FREQUENCIES Msg_DC_Both.

MEANS TABLES= Party_ID BY Msg_DC_Both
  /CELLS=SPCT MEAN COUNT STDDEV.

*age

FREQUENCIES Q16.5.0.
RECODE Q16.5.0 (26 = 1992) (28 = 1990) (1065 = 1965) (1276=1976) (19996 = 1996) (else = copy) into Age.

VARIABLE LABELS Age  'Age of respondent'. 

FREQUENCIES age.

MEANS TABLES= age BY Msg_DC_Both
  /CELLS=SPCT MEAN COUNT STDDEV.

*income

recode Q16.6 (3 = 1) (11 = 2) (12 = 3) (13 = 4) (14 = 5) (15 = 6) (16 = 7) (17 = 9) (18 = 9)  (sysmis=sysmis) into Income.
VARIABLE LABELS Income 'Total family income of respondent'.
VALUE LABELS Income 1 'less than 10k' 2 '$10k' 3 '$20k' 4 '$30k' 5 '$40k' 6 '$50k' 7 '$75k' 8 '$100k' 9 '$150k'.
FREQUENCIES Income.

*education 

FREQUENCIES Q16.1.

recode Q16.1 (1 = 1) (2 = 2) (3 = 3) (4 = 4) (5 = 5) (6 = 6) (7 = 7) (8 = 8) (9 = 9) (10=10) (11=11) (12=12) (13=13) (14=14) (sysmis=sysmis) into Educ.
VARIABLE LABELS Educ 'Education level of respondent'.
VALUE LABELS Educ 1 'No formal education' 2 '1st, 2nd, 3rd, or 4th grade' 3 '5th or 6th grade' 4 '7th or 8th grade'.
VALUE LABELS Educ 5 '9th grade' 6 '10th grade' 7 '11th grade' 8 '12th grade no diploma' 9 'high school graduate' 10 'some college no degree' 11 'Associates degree' 12 'Bachelor’s degree' 13 'Master’s degree' 14 'Professional or doctorate'.
FREQUENCIES Educ.

*Gender

RECODE Q16.2 (1=1) (2=2) (3=3) (else=SYSMIS) into Gender.
FREQUENCIES Q16.2 gender. 
VARIABLE LABELS Gender 'Gender of participant'.
VALUE LABELS Gender 1 'male' 2 'female' 3 'other'.

CROSSTABS
  /TABLES=Msg_DC_Both BY Gender
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT
  /COUNT ROUND CELL.

*not Hispanic or Latino

CROSSTABS
 /TABLES=Msg_DC_Both BY Q16.3
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT
  /COUNT ROUND CELL.

*not Hispanic or Latino

CROSSTABS
 /TABLES=Msg_DC_Both BY Q16.3
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT
  /COUNT ROUND CELL.

*Creating one race variable past Hispanic

Do if Q16.4_1=1.
Compute Race=1.
End if.

Do if Q16.4_4=1.
Compute Race=2.
End if.

Do if Q16.4_5=1.
Compute Race=3.
End if.

Do if Q16.4_6=1.
Compute Race=4.
End if.

Do if Q16.4_3=1.
Compute Race=5.
End if.

Do if Q16.4_2=1.
Compute Race=6.
End if.


FREQUENCIES Race.

VALUE LABELS Race 1 'American Indian Alaska Native' 2 'Native Hawaiian Pacfic Islander' 3 'Asian' 4 'Black' 5 'White' 6 'Other'.  

FREQUENCIES Race.
VARIABLE LABELS Race 'Race or ethnicity of respondent'.

CROSSTABS
 /TABLES=Msg_DC_Both BY Race
  /FORMAT=AVALUE TABLES
  /CELLS=COUNT
  /COUNT ROUND CELL.


*******Income and Education BY GROUP
*NOTE - there is a split file command used. It is used to obtain medians for income and education
*Be sure that it is turned OFF prior to running any subsquent analyses

*** Create dummy variables

Do if Msg_DC_antifrack=0.
Compute compare_antifrack=1.
Else if Msg_DC_antifrack=1.
Compute compare_antifrack=1.
End if.

FREQUENCIES compare_antifrack.
VARIABLE LABELS compare_antifrack 'Dummy variable to obtain antifracking results only in the split file'.

**************THIS SPLITS THE FILE SO THAT ONLY THE ANTIFRACK IS ANALYZED

SORT CASES  BY compare_antifrack.
SPLIT FILE SEPARATE BY compare_antifrack.

SUMMARIZE income /CELLS=MEAN MEDIAN STDDEV .

*6 = median, 50k to 75k

SUMMARIZE Educ /CELLS=MEAN MEDIAN STDDEV .

SUMMARIZE age /CELLS=MEAN MEDIAN STDDEV .

SPLIT FILE off.

*** Create dummy variables

Do if Msg_DC_profrack=0.
Compute compare_profrack=1.
Else if Msg_DC_profrack=1.
Compute compare_profrack=1.
End if.

FREQUENCIES compare_profrack.
VARIABLE LABELS compare_profrack 'Dummy variable to obtain profracking results only'.

**************THIS SPLITS THE FILE SO THAT ONLY THE PROFRACK IS ANALYZED

SORT CASES  BY compare_profrack.
SPLIT FILE SEPARATE BY compare_profrack.

SUMMARIZE income /CELLS=MEAN MEDIAN STDDEV .

SUMMARIZE Educ /CELLS=MEAN MEDIAN STDDEV .

SUMMARIZE age /CELLS=MEAN MEDIAN STDDEV .

SPLIT FILE off.
